package com.aliyun.heiyu.common.util.sm2;

/*SM辅助类*/
public class KeyPair {
	
    private String publicKey;

    private String privateKey;
    
    private String iv;
    
    public KeyPair() {}
    
    public KeyPair(String key) {
    	this.setPublicKey(key);
    }
    
    public KeyPair(String publicKey, String privateKey) {
    	this.setPublicKey(publicKey);
    	this.setPrivateKey(privateKey);
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

	public String getIv() {
		return iv;
	}

	public void setIv(String iv) {
		this.iv = iv;
	}
}
